//域名配置
function host() {
    // return 'http://8.142.85.163:9001/api';
	return 'https://mh.thinkmongroup.com:8885/api';
	// return 'http://localhost:9001/api';
}
function fileServerHost(){
	return 'http://8.142.85.163:8999/'
	//return 'http://localhost:8999/'
}
//地址配置
function regionhost() {
    // return 'https://ecshop.test2.shopex123.com/js/region.json';
	//return 'https://mt-shoppingmall.com/zn/js/region.json';
	return 'static/mockjs/region.json';
}
//app版本
function version() {
    return { id: 106 };
}
//授权参数设置
function env() {
    const env = {
        //线上ec商城中config.php中定义的define('APP_SECRET', 'I4MoPIPaVCc8M5fnfruLBd');
        APP_SERECT: 'I4MoPIPaVCc8M5fnfruLBd',
        //线上ec商城中config.php中定义的define('APP_KEY', 'wolf100000001');
        app_key: 'wolf100000001',
        format: 'JSON',
        api_version: '2.0',
        req_source: 'app'
    }
    return env;
}
export default {
    version,
    host,
    regionhost,
    env,
	fileServerHost
}